package test1;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

public class DBtest {
    public static void main(String[] args) throws SQLException {

        Connection connection = DBUtils.getConnection();
        Statement statement = connection.createStatement();
    String sql="insert into t_student (id,name,age) values('A0004','zl',44)";
        statement.executeUpdate(sql);
        DBUtils.close(connection,statement);
    }
}
